package com.ruoyi.buy.mapper.PO;

import com.ruoyi.buy.domain.entity.PO.BuyPurchaseBillItem;

import java.util.List;

/**
 * 生成采购清单明细Mapper接口
 * 
 * @author ruoyi
 * @date 2023-12-05
 */
public interface BuyPurchaseBillItemMapper 
{
    /**
     * 查询生成采购清单明细
     * 
     * @param id 生成采购清单明细主键
     * @return 生成采购清单明细
     */
    public BuyPurchaseBillItem selectBuyPurchaseBillItemById(Long id);

    /**
     * 查询生成采购清单明细列表
     * 
     * @param buyPurchaseBillItem 生成采购清单明细
     * @return 生成采购清单明细集合
     */
    public List<BuyPurchaseBillItem> selectBuyPurchaseBillItemList(BuyPurchaseBillItem buyPurchaseBillItem);

    /**
     * 新增生成采购清单明细
     * 
     * @param buyPurchaseBillItem 生成采购清单明细
     * @return 结果
     */
    public int insertBuyPurchaseBillItem(BuyPurchaseBillItem buyPurchaseBillItem);

    /**
     * 修改生成采购清单明细
     * 
     * @param buyPurchaseBillItem 生成采购清单明细
     * @return 结果
     */
    public int updateBuyPurchaseBillItem(BuyPurchaseBillItem buyPurchaseBillItem);

    /**
     * 删除生成采购清单明细
     * 
     * @param id 生成采购清单明细主键
     * @return 结果
     */
    public int deleteBuyPurchaseBillItemById(Long id);

    /**
     * 批量删除生成采购清单明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBuyPurchaseBillItemByIds(Long[] ids);
}
